@import "variables";
@mixin clearfix {
  &:before,
  &:after {
    display: table;
    content: '';
  }
  &:after {
    clear: both;
  }
}

@mixin centerBlock {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

// 自动省略
@mixin ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
